/*
 * @Descripttion: 
 * @Author: lukasavage
 * @Date: 2021-11-29 21:16:32
 * @LastEditors: lukasavage
 * @LastEditTime: 2021-11-29 21:34:25
 */

export const LOCATION_CHANGE = '@@router/LOCATION_CHANGE';
export const onLocationChange = (location, action) => ({
    payload: {
        action,
        location
    }
})

export const CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD';
export const push = (path) => ({
    type: CALL_HISTORY_METHOD,
    payload: {
        method: 'push',
        path
    }
})